package com.iweb.address.service;

import com.iweb.address.model.Address;
import com.iweb.util.PageModel;

import java.util.List;

public interface AddressService {
    //分页查询
    public List<Address> selectByPage(PageModel pageModel,Integer userid);

    public Address queryByUserId(Integer userid);

     public int saveOne(Address address);

     public int deleteById(Integer addressid);

    public int updateById(Address address);

    Address queryByAddressId(Integer addressid);
}
